package cn.xd.base.domain.bean.response;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author Mirza Lin
 * @date 2021/11/23
 */
@Data
public class JsonAdminOrgTree implements Serializable {
    /**
     * id
     */
    private Long id;
    /**
     * 父菜单ID
     */
    private Long parentId;
    /**
     * 机构路径
     */
    private String path;
    /**
     * 机构名称
     */
    private String name;
    /**
     * 排序
     */
    private Integer orderNum;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 类型
     */
    private Integer type;
    /**
     * 额外审批是否开启
     */
    private Boolean additionalApproval;

    private Long userId;

    private Long referrerId;
    /**
     * 子类
     */
    private List<JsonAdminOrgTree> children;
}
